<template>
    <div class="content-box client-list">
        <control class="control" :target="targetClientId"></control>
    </div>
</template>

<script setup>
import {onMounted, onUnmounted, ref} from 'vue';
import {useRoute} from 'vue-router';
import control from "./control.vue";

const $route = useRoute(); // 获取当前路由信息
console.log('target参数自URL:', $route.params.target)

let targetClientId = $route.params.target;


// 生命周期
onMounted(() => {

});

onUnmounted(() => {

});
</script>

<style scoped>
.client-list{
    display: flex;
    .control{
        width: 100%;
    }
}
</style>